#ifndef PROTOCOL_H
#define PROTOCOL_H

#include <iostream>
#include <sys/socket.h>
#include <netinet/in.h>
#include <unistd.h>
#include <vector>
#include <ev.h>
#include <string>
#include <arpa/inet.h>
#include <cstring>
using namespace std;
#define BUFFER_SIZE 1024


void sendMessage(int fd, const std::string& message);

string receiveMessage(int fd);

#endif